
    //引入公共样式
require("../../lib/captcha/commonCss");
// ad样式
require("./adver.less")

// 获取节点
let jump = document.querySelector("#jump")
let time = document.querySelector("#time")
    // console.log(jump,time);

jump.addEventListener("click", function() {
    location.href = "./login.html"
})

let num = 5;
let timer = setInterval(function() {
    num--;
    console.log(num);
    if (num <= -1) {
        clearInterval(timer)
        location.href = "./login.html"
    } else {
        time.textContent = num + 's'
    }
}, 1000)